package com.javasm.commons.enums;


public enum E {
    SUC(200,"success"),
    ERROR(404,"网络异常，请联系管理员！"),
    NOT_EXISTS(501,"数据不存在"),
    PWD_ERROR(502,"账号密码有误，请重新登录"),
    FILE_MAX_SIZE(503,"上传文件过大" ),
    VALICODE_ERROR(412,"验证码错误" ),
    PHONE_NOT_EXITS(413,"手机号不存在" ),
    NO_LOGIN(201,"当前用户登录账号密码有误，请重新登录！" );


    private Integer code;
    private String msg;

    E(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer  getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
